home *** CD-ROM | disk | FTP | other *** search
- /*
- マウス イベント処理ライブラリ ヘッダファイル
-
- 1990.9.15 Make By ken
- */
-
- #define EVT_NON 0
- #define EVT_ON_MOS 1
- #define EVT_OFF_MOS 2
- #define EVT_CLIP_MOS 3
- #define EVT_SELECT_MOS 4
- #define EVT_DOLACK_MOS 5
- #define EVT_DLSEL_MOS 6
- #define EVT_MOVE_MOS 7
- #define EVT_REP_MOS 8
-
- typedef struct _EP {
- struct _EP *next;
- struct _EP *actp;
- int no;
- void (*proc)();
- short int now;
- short int x1,y1,x2,y2;
- } EVENT;
-
- EVENT *EVT_set(EVENT *tp,int no,
- int x1,int y1,int x2,int y2,void (*proc)());
- void EVT_free(EVENT *tp);
- void EVT_loop(EVENT *tp);
-
- EVENT *EVT_sw(EVENT *tp,int no,int x,int y,int cc,int bc,char *str);
- void EVT_proc(EVENT *ep);
- int EVT_wait(EVENT *tp);
-
- extern int EVT_msg_no;